package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.CheckoutSettings;

/**
 * 结账设置 Service接口
 *
 * @author ruoyi
 * @date 2025-05-12
 */
public interface ICheckoutSettingsService
{
    /**
     * 通过id查询结账设置
     *
     * @param id 结账设置主键
     * @return 结账设置
     */
    public CheckoutSettings selectCheckoutSettingsById(Long id);

    /**
     * 查询结账设置列表
     *
     * @param checkoutSettings 结账设置
     * @return 结账设置集合
     */
    public List<CheckoutSettings> selectCheckoutSettingsList(CheckoutSettings checkoutSettings);

    /**
     * 新增结账设置列表
     *
     * @param checkoutSettings 结账设置
     * @return 结果
     */
    public int insertCheckoutSettings(CheckoutSettings checkoutSettings);

    /**
     * 修改结账设置列表
     *
     * @param checkoutSettings 结账设置
     * @return 结果
     */
    public int updateCheckoutSettings(CheckoutSettings checkoutSettings);

    /**
     * 通过id批量删除结账设置信息
     *
     * @param ids 需要删除的结账设置主键集合
     * @return 结果
     */
    public int deleteCheckoutSettingsByIds(Long[] ids);

    /**
     * 通过id删除结账设置列表
     *
     * @param id 结账设置主键
     * @return 结果
     */
    public int deleteCheckoutSettingsById(Long id);

    /**
     * 通过门店id查询结账设置详情
     *
     * @param storeId 门店id
     * @return 桌台设置信息
     */
    CheckoutSettings selectByStoreId(Long storeId);

}
